package com.cake.dao;

import com.cake.dao.base.IBaseDao;
import com.cake.entity.XxRoleMenuKey;

public interface XxRoleMenuMapper extends IBaseDao<XxRoleMenuKey>{
    int deleteByPrimaryKey(XxRoleMenuKey key);

    int insert(XxRoleMenuKey record);

    int insertSelective(XxRoleMenuKey record);
    
    /**
     * 通过roloId删除角色菜单中间表信息
     * @param roleId
     * @return
     */
    Integer deleteMenuByRoleId(Long roleId);
}